package com.cen.dao.user;

import com.cen.domain.User;

import java.sql.Connection;
import java.sql.SQLException;

/**
 * @author : cen
 * @date : 2020/5/18 8:07
 */
public interface IUserDao {
    /**
     *根据userCode获取User用户
     * @param connection
     * @param userCode
     * @return */
    public User getLoginUser(Connection connection,String userCode) throws SQLException;
}
